Skip to content

Tools: add controller latency analyzer add controller latency analyzer - #2292

Open
lewisjoshua1986 wants to merge 1 commit into
apache:masterfrom
lewisjoshua1986:codex/ble-latency-observability
Open

Tools: add controller latency analyzer add controller latency analyzer#2292
lewisjoshua1986 wants to merge 1 commit into
apache:masterfrom
lewisjoshua1986:codex/ble-latency-observability

Conversation

@lewisjoshua1986

@lewisjoshua1986 lewisjoshua1986 commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add a controller latency analyzer for BLE connection-event traces
  • convert normalized SystemView scheduler and connection events to analyzer CSV
  • report event duration, intervals, scheduler lateness, skipped counter values, and percentile statistics
  • validate trace integrity and report scheduler-lateness sample coverage
  • provide an anomaly-sensitive exit mode for automated comparisons

Testing

python3 -m unittest discover -s tools/latency -p 'test_*.py'

Result: 18 tests passed. An end-to-end golden fixture also verifies SystemView conversion through JSON analysis.

Add tools for converting normalized SystemView traces and reporting BLE
connection-event duration, intervals, lateness, and counter gaps.

Validate trace integrity and report scheduler sample coverage.
Provide an anomaly-sensitive exit mode with unit and fixture coverage.
@lewisjoshua1986
lewisjoshua1986 force-pushed the codex/ble-latency-observability branch from 795409a to 3aa687c Compare September 5, 2026 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/L Large PR size/M Medium PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants